space to underscore python

36

mystring.replace(" ", "_")

Comments

Submit
0 Comments